public class Test {
    public static void main(String[] args) {
        Integer a =new Integer(0);
        add(a);
        System.out.println(a);
    }

    private static void add(Integer a) {
        a++;
    }
}
